/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.isfd.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.comac.ins.common.excel.annotation.ExcelDictFormat;
import com.comac.ins.common.excel.convert.ExcelDictConvert;
import com.comac.ins.isfd.domain.IsfdLoad;
import com.comac.ins.isfd.domain.bo.IsfdLoadBo;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 载荷库功能视图对象 isfd_load
 *
 * @author lanlan
 * @date 2024-07-16
 */
@Data
@ExcelIgnoreUnannotated
@AutoMappers({
    @AutoMapper(target = IsfdLoad.class),
    @AutoMapper(target = IsfdLoadBo.class)
})
public class IsfdLoadVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Integer no;

    /**
     * 重量（kg）
     */
    @ExcelProperty(value = "重量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "k=g")
    private Double G;

    /**
     * 重心X（m）
     */
    @ExcelProperty(value = "重心X", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "m=")
    private Double X;

    /**
     * 重心Y（m）
     */
    @ExcelProperty(value = "重心Y", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "m=")
    private Double Y;

    /**
     * 重心Z（m）
     */
    @ExcelProperty(value = "重心Z", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "m=")
    private Double Z;

    /**
     * 惯量Ixx（kg*m2）
     */
    @ExcelProperty(value = "惯量Ixx", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "k=g*m2")
    private Double Ixx;

    /**
     * 惯量Iyy（kg*m2）
     */
    @ExcelProperty(value = "惯量Iyy", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "k=g*m2")
    private Double Iyy;

    /**
     * 惯量Izz（kg*m2）
     */
    @ExcelProperty(value = "惯量Izz", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "k=g*m2")
    private Double Izz;

    /**
     * 惯量Ixy（kg*m2）
     */
    @ExcelProperty(value = "惯量Ixy", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "k=g*m2")
    private Double Ixy;

    /**
     * 惯量Ixz（kg*m2）
     */
    @ExcelProperty(value = "惯量Ixz", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "k=g*m2")
    private Double Ixz;

    /**
     * 惯量Iyz（kg*m2）
     */
    @ExcelProperty(value = "惯量Iyz", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "k=g*m2")
    private Double Iyz;

    /**
     * 元数据管理id
     */
    private String metadataManagementId;
}
